
public class timu5 {
	
	public void addself(int a){
		int result=1;
		if(a<31){
			
			result=result*a;
			a++;
			addself(a);
			
		}else{
			System.out.println(""+result);
		}
		
	}
	
		public static void main(String[] args) {
			
		timu5 m = new timu5 ();
		m.addself(31);
	

	
	}	

}
